<%--
  Created by IntelliJ IDEA.
  User: 29238
  Date: 2021/5/18
  Time: 10:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>

<head>
    <title>办理借阅</title>
    <!-- 引入 Bootstrap -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
<!-- 主容器 -->
<div class="container">
    <!-- 标题 -->
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>新增借阅</small>
                </h1>
            </div>
        </div>
    </div>
    <!-- 标题 -->

    <!-- 表单 -->
    <form action="${pageContext.request.contextPath}/loan/addLoan" method="post">

        <div class="form-group">
            <label>借阅号</label>
            <input type="text" name="loanNo" class="form-control" required>
        </div>

        <div class="form-group">
            <label>ISBN</label>
            <input type="text" name="ISBN" class="form-control" required>
        </div>

<%--        <div class="form-group">--%>
<%--            <label>借阅日期</label>--%>
<%--            <input type="text" name="borrowDate" class="form-control" required>--%>
<%--        </div>--%>

        <div class="form-group">
            <input type="submit" class="form-control" value="添加">
        </div>

    </form>
    <!-- 表单 -->

    <span>${addLoanStatus}</span>
</div>

</body>

</html>
